package com.ssy.lingxi.pay.api.model.vo.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 授信退款VO
 * @author 伍将
 * @date 2020/8/31
 * @version 2.0.0
 */
public class CreditRefundVO implements Serializable {
    private static final long serialVersionUID = 4987619058206395316L;

    /**
     * 会员id
     */
    @NotNull(message = "会员id要大于0")
    @Positive(message = "会员id要大于0")
    private Long memberId;

    /**
     * 会员角色id
     */
    @NotNull(message = "会员角色id要大于0")
    @Positive(message = "会员角色id要大于0")
    private Long memberRoleId;

    /**
     * 父级会员id
     */
    @NotNull(message = "父级会员id要大于0")
    @Positive(message = "父级会员id要大于0")
    private Long parentMemberId;

    /**
     * 父级会员角色id
     */
    @NotNull(message = "父级会员角色id要大于0")
    @Positive(message = "父级会员角色id要大于0")
    private Long parentMemberRoleId;

    /**
     * 支付流水号
     */
    @NotBlank(message = "支付流水号不能为空")
    private String payCode;

    /**
     * 退款金额
     */
    @NotNull(message = "退款金额要大于等于0")
    private Double refundAmount;

    /**
     * 备注
     */
    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Double getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Double refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getPayCode() {
        return payCode;
    }

    public void setPayCode(String payCode) {
        this.payCode = payCode;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberRoleId() {
        return memberRoleId;
    }

    public void setMemberRoleId(Long memberRoleId) {
        this.memberRoleId = memberRoleId;
    }

    public Long getParentMemberId() {
        return parentMemberId;
    }

    public void setParentMemberId(Long parentMemberId) {
        this.parentMemberId = parentMemberId;
    }

    public Long getParentMemberRoleId() {
        return parentMemberRoleId;
    }

    public void setParentMemberRoleId(Long parentMemberRoleId) {
        this.parentMemberRoleId = parentMemberRoleId;
    }
}
